Quick Start Kubernetes: 2024 Edition by Nigel Poulton

Quick Start Kubernetes: 2024 Edition by Nigel Poulton

Author:Nigel Poulton [Poulton, Nigel]
Language: eng
Format: epub
Tags: Kubernetes, Development, Programming, Database Administration & Management
Amazon: B08T21NW4Z
Publisher: leanpub.com
Published: 2024-01-12T22:00:00+00:00


Deploy the app to Kubernetes

The first thing to know about deploying containers to Kubernetes is that they have to be wrapped in Pods. For now, think of a Pod as a lightweight wrapper that allows Kubernetes to run containers.

Figure 6.2 shows a Pod called first-pod wrapping a single container called web. The Pod only adds metadata to assist with scheduling.

Figure 6.2

Your first Kubernetes Pod

The Pod you’ll deploy is defined in a YAML file called pod.yml in the root of the book’s GitHub repo.

The file can have any name, but the contents follow strict YAML rules. If you don’t already know, YAML is a popular language for configuration files and is very strict about indentation.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.